﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TemplateWeb.Models.ViewModels.GroupViewModel>" %>
<script type="text/javascript">
    /* <![CDATA[ */
    var menu1=new Array(); 
    <% for(int i = 0; i < Model.LoaiTinTucModel.GetModel.LstObjModel.Count; i++)
       { %>
            menu1[<%= i %>]='<a href="<%= Url.Action("TinTuc", "Home", new { idloaitintuc = Model.LoaiTinTucModel.GetModel.LstObjModel[i].ID }) %>"><%= Model.LoaiTinTucModel.GetModel.LstObjModel[i].TenLoaiTinTuc %></a>';
    <% } %>

    var menu2=new Array(); 
    <% for(int i = 0; i < Model.LoaiVideoModel.GetModel.LstObjModel.Count; i++)
       { %>
            menu2[<%= i %>]='<a href="<%= Url.Action("Album", "Home", new { idloaivideo = Model.LoaiVideoModel.GetModel.LstObjModel[i].ID }) %>"><%= Model.LoaiVideoModel.GetModel.LstObjModel[i].TenLoaiVideo %></a>';
    <% } %>
</script>

<div>
	<div style="width:975px; margin:auto; height:132px; margin-bottom: 1px;">  
		<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="975" height="132" id="BannerD" align="">
			<param name=movie value="../../../Content/Images/Home/<%= Model.ThongTinWebsiteModel.GetModel.LstObjModel[0].Banner %>" />
			<param name=quality value=high />
			<embed src="../../../Content/Images/Home/<%= Model.ThongTinWebsiteModel.GetModel.LstObjModel[0].Banner %>" quality=high  width="975" height="132" name="BannerD" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
			</embed>
		</object>
	</div>	
</div>
<div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
			    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="7"  class="bgmenuleft"></td>
                        <td class="bgmenucenter">
				            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <!-- TRANG CHU -->
                                    <td align="center">
                                        <a href="<%= Url.Action("Index", "Home") %>" class="menu">Trang chủ</a>
                                    </td>
                                    <td width="1"><img src="../../../Content/Images/Home/index_31.jpg" width="1" height="42" alt="" /></td>
                                    <!-- GIOI THIEU -->
                                    <td align="center">
                                        <a href="<%= Url.Action("GioiThieu", "Home") %>" class="menu">Giới thiệu</a>
                                    </td>
                                    <td width="1"><img src="../../../Content/Images/Home/index_31.jpg" width="1" height="42" alt="" /></td>
                                    <!-- THIET KE WEBSITE -->
                                    <td align="center"> 
                                        <a href="<%= Url.Action("ThietKeWeb", "Home") %>" class="menu" >Thiết kế website</a>
                                    </td>
                                    <td width="1"><img src="../../../Content/Images/Home/index_31.jpg" width="1" height="42" alt="" /></td>
                                    <!-- PHAN MEM QUAN LY -->
                                    <td align="center">
                                        <a href="<%= Url.Action("PhanMemQuanLy", "Home") %>" class="menu" >Phẩn mềm quản lý</a> 
                                    </td>
                                    <td width="1"><img src="../../../Content/Images/Home/index_31.jpg" width="1" height="42" alt="" /></td>
					                <!-- KHACH HANG -->
                                    <td align="center">
                                        <a href="<%= Url.Action("KhachHang", "Home") %>" class="menu">Khách hàng</a> 
                                    </td>
                                    <td width="1"><img src="../../../Content/Images/Home/index_31.jpg" width="1" height="42" alt="" /></td>
                                    <!-- TIN TUC -->
					                <td align="center"  onmouseover="dropdownmenu(this, event, menu1, '200px')" onmouseout="delayhidemenu()">
                                        <a href="#" class="menu">Tin tức</a>
                                    </td>
					                <td width="1"><img src="../../../Content/Images/Home/index_31.jpg" width="1" height="42" alt="" /></td>
					                <!-- VIDEO -->
					                <td align="center"  onmouseover="dropdownmenu(this, event, menu2, '200px')" onmouseout="delayhidemenu()">
                                        <a href="#" class="menu">Video</a> 
                                    </td>	
                                    <td width="1"><img src="../../../Content/Images/Home/index_31.jpg" width="1" height="42" alt="" /></td>
                                    <!-- LIEN HE -->
                                    <td align="center">
                                        <a href="<%= Url.Action("LienHe", "Home") %>" class="menu">Liên hệ</a> 
                                    </td>
                                </tr>
                            </table>
				        </td>
                        <td width="9" class="bgmenuright">&nbsp;</td>
                    </tr>
                </table>	  
			</td>
        </tr>	
    </table>
</div>